package T01_Student;

import java.util.ArrayList;

public class T02_Student_run {
    public static void main(String[] args) {
        ArrayList list = new ArrayList();
        T01_Student stu1 = new T01_Student("小虎",18,"男");
        T01_Student stu2 = new T01_Student("小红",28,"男");
        T01_Student stu3 = new T01_Student("小铭",56,"男");
        T01_Student stu4 = new T01_Student("小铭",36,"男");
//        T01_Student.teacherName = "周杰伦";
        list.add(stu1);
        list.add(stu2);
        list.add(stu3);

        int getAge = T03_StudentUtil.getMaxAge(list);
        System.out.println(getAge);


    }
}
